import request from '@/sheep/request';

export default {
    // 获得文章详情
    getArticle: (id, title) => {
        return request({
            url: '/promotion/article/get',
            method: 'GET',
            params: { id, title }
        });
    },
	
	// 获得客服
	getArticlepage: (categoryId,size) => {
	    return request({
	        url: '/promotion/article/page',
	        method: 'GET',
	        params: { categoryId,size }
	    });
	}
}
